﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ToolsCollection.BLL
{
    public class TC_BAGLIST
    {
        ToolsCollection.DAL.TC_BAGLIST tc_BagList = new DAL.TC_BAGLIST();
        /// <summary>
        /// 获取任务包列表
        /// </summary>
        /// <param name="names">包名称</param>
        /// <returns></returns>
        public DataTable GetTC_BagList(string names)
        {

            return tc_BagList.GetTC_BagList(names);
        }
        /// <summary>
        /// 添加任务包
        /// </summary>
        /// <param name="tc_BagList"></param>
        /// <returns></returns>
        public int Add_TC_Bag(ToolsCollection.MODEL.TC_BAGLIST tc_BagLists)
        {
            return tc_BagList.Add_TC_Bag(tc_BagLists);
        }
    }
}